class MenuModel {
    /**
     * 菜单名称
     */
    public label: string = ''
    /**
     * 菜单图标，使用unicode
     */
    public icon?: string = ''
    /**
     * 菜单路由
     */
    public index: string = ''
    /**
     * 菜单的子菜单
     */
    public children: Array<MenuModel> = []

    constructor(arg: MenuModel) {
        this.label = arg.label
        this.icon = arg.icon
        this.index = arg.index
        this.children = arg.children
    }
}
export default MenuModel